package com.artisan.common.utils;

import org.springframework.util.CollectionUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by yang on 2017/7/7.
 */
public class ListUtils {
    public static List<Integer> StringToIntegerLst(List<String> inList){
        List<Integer> iList =new ArrayList<Integer>(inList.size());
        try{
            for(int i=0,j=inList.size();i<j;i++){
                iList.add(Integer.parseInt(inList.get(i)));
            }
        }catch(Exception  e){
        }
        return iList;
    }
}
